import React from 'react';
import { Icon } from './base';

/**
 * 直播推广 角标
 *
 * @export
 * @class IconLivePromotion
 * @extends {Icon}
 */
export default class IconGoodShop extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#F46201',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 39 31" width={width} height={height} style={style} className={className}>
                <g id="Artboard" transform="translate(2.000000, 2.000000)">
                    <path
                        fill={color}
                        p-id="17754"
                        d="M26.6013015,10.1900013 L26.6013015,17.1968048 L34.2307957,25.3886371 C34.2640349,25.4263065 34.2671105,25.4277007 34.3133438,25.4277007 C34.3244135,25.4277007 34.3507826,25.4220386 34.3514197,25.4230012 C34.4805334,25.3625767 34.5015308,25.3284724 34.5015308,25.1471793 L34.5015308,2.25988082 C34.5015308,2.07858769 34.4805334,2.04448335 34.3963893,2.003854 C34.3507793,1.98501979 34.3244125,1.9793581 34.3133438,1.9793581 C34.2671119,1.9793581 34.2640358,1.98075251 34.2106379,2.04062965 L26.6013015,10.1900013 Z M26.6013015,20.3242478 L26.6013015,21.2404702 C26.6013015,23.2065662 25.9387375,24.9191567 24.6295508,26.3242962 C23.3064092,27.7444133 21.6719263,28.4728483 19.7900224,28.4728483 L5.74549082,28.4728483 C3.86358691,28.4728483 2.22910395,27.7444133 0.905962788,26.3242966 C-0.403225148,24.9191574 -1.06578947,23.2065668 -1.06578947,21.2404702 L-1.06578947,6.16658862 C-1.06578947,4.20049207 -0.403225148,2.48790147 0.90596202,1.08276301 C2.22910294,-0.337354896 3.86358582,-1.06578947 5.74549082,-1.06578947 L19.7900224,-1.06578947 C21.6719274,-1.06578947 23.3064102,-0.337354896 24.6295508,1.08276259 C25.9387375,2.48790208 26.6013015,4.20049262 26.6013015,6.16658862 L26.6013015,7.066836 L32.6324887,0.60808843 C33.0694899,0.112842799 33.6542149,-0.152220846 34.3133438,-0.152220846 C34.61577,-0.152220846 34.9159597,-0.0877615954 35.2549371,0.0534411381 C36.1446793,0.469835072 36.6331097,1.26315125 36.6331097,2.25988082 L36.6331097,25.1471793 C36.6331097,26.1439088 36.1446793,26.937225 35.2099613,27.3734166 C34.9159548,27.4948215 34.6157676,27.5592797 34.3133438,27.5592797 C33.6542149,27.5592797 33.0694898,27.2942173 32.6517456,26.8202124 L26.6013015,20.3242478 Z M24.4697225,18.0357115 L24.4697225,9.34954845 L24.4697225,6.16658862 C24.4697225,4.73535106 24.0084581,3.54307819 23.0699885,2.53582632 C22.1454739,1.54355126 21.0734579,1.06578947 19.7900224,1.06578947 L5.74549082,1.06578947 C4.46205524,1.06578947 3.39003932,1.54355126 2.46552395,2.53582714 C1.52705399,3.54307826 1.06578947,4.73535084 1.06578947,6.16658862 L1.06578947,21.2404702 C1.06578947,22.671708 1.52705399,23.8639806 2.46552434,24.8712321 C3.39003984,25.8635071 4.4620563,26.3412693 5.74549082,26.3412693 L19.7900224,26.3412693 C21.0734569,26.3412693 22.1454733,25.8635071 23.0699888,24.8712321 C24.0084581,23.8639806 24.4697225,22.6717078 24.4697225,21.2404702 L24.4697225,18.0357115 Z M11.8061067,19.7200722 C11.2279969,20.0817165 10.501246,20.0909198 9.91438607,19.7437155 C9.34292729,19.405623 8.99657671,18.7849546 8.99671054,18.1193517 L8.99671057,9.61468074 C8.99657673,8.94886351 9.34292732,8.32819512 9.9143861,7.99010266 C10.501246,7.64289842 11.2279969,7.6521017 11.8391345,8.03526687 L18.0767561,12.2669202 C18.6253064,12.6105125 18.9546784,13.2178167 18.9546784,13.8669091 C18.9546784,14.5081567 18.6332198,15.1086201 18.0965488,15.4543251 L11.8061067,19.7200722 Z M11.1282895,10.1279466 L11.1282895,17.6050546 L16.6396017,13.8668898 L11.1282895,10.1279466 Z"
                    />
                </g>
            </svg>
        );
    }
}
